package com.vows.test;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by jazzy on 2017/7/26.
 */
public class StringTest1 {
    public static void main(String[] args) {
        List<String> list = new ArrayList<String>();

        List<List<String>> listRst = new ArrayList();

        list.add("before");
        listRst.add(list);
        list.add("add");
        printListString(list);
    }

    public static void printListString(List<String> list){
        list.forEach(n -> System.out.println(n));
    }


}
